/**
 * author:Administrator
 * date:2016/1/6
 * desc:TODO
 */

'use strict';

var Model = require('../model/Customer.js');

let CommonDao = require('./_commonDao.js');
class TheDao extends CommonDao {
  constructor() {
    super(Model);
  }

  /**
   * return pojo list
   * @param uId
   * @returns {*}
   */
  * findByUid(uId) {
    return yield this.findMany({uId: uId});
  }
}
module.exports = new TheDao();

